package com.heima.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Region {
    private Long id;
    private String name;
    private String remark;
    private Integer nodeCount;
    private List<Node> nodeList;
    @DateTimeFormat(pattern ="yyyy-MM-ddTHH:mm:ss")
    private LocalDateTime updateTime;
    @DateTimeFormat(pattern ="yyyy-MM-ddTHH:mm:ss")
    private LocalDateTime createTim;

}
